const global: any = {
    adminToken: 'mi-token',     // admin登录token
    kefuToken: 'kefu-token',    // 客服登录token

    // 列表宽度设置
    tdWidth: {
        check: 80,
        id: 80,
        image: 80,
        title: 210,
        cate: 120,
        date: 120,
        number: 90,
        datetime: 210,
        sort: 80,
        toolbar: 150,
        switch: 90,
        min: 100,
    },

    productType: [
        {id: 1, title: '普通商品'},
        {id: 2, title: '虚拟商品'}
    ],
    opOptions: [
        {id: '>=', title: '大于等于'},
        {id: '<=', title: '小于等于'},
        {id: '=', title: '等于'}
    ],
    productShowOptions: [
        {id: 1, title: '上架'}, {id: 0, title: '下架'}
    ],
    userAccountLogTypeOptions: {
        '1': {id: 1, title: '充值'},
        '2': {id: 2, title: '支付'},
        '3': {id: 3, title: '商家调整'},
        '4': {id: 4, title: '总后台调整'},
        '5': {id: 5, title: '退款'}
    },
    orderActiveType: {
        normal: {id: 'normal', title: '普通订单'},
        group: {id: 'group', title: '拼团订单'}
    },

    orderStatusOptions : {
        unpaid:{id: 'unpaid', title: '待付款'},
        paid: {id: 'paid', title: '已付款'},
        wait: {id: 'wait', title: '待核销'},
        done:{id: 'done', title: '已完成'},
        cancel:{id: 'cancel', title: '已取消'},
        // fail:{id: 'fail', title: '订单失败'},

    },

    rewardTypes: {
        user: {id: 'user', title: '兼职直推返利'},
        two_user: {id: 'two_user', title: '兼职二级返利'},
        employee: {id: 'employee', title: '员工返利'},
        manager: {id: 'manager', title: '经理返利'}
    },

    rewardPayStatus: {
        '0': {id: 0, title: '冻结中', type: 'danger'},
        '1': {id: 1, title: '已到账', type: 'success'},
    },

    orderRefundStatusOptions: {
        0:{id: 0, title: '未审核', type:'warning'},
        1:{id: 1, title: '已退款', type:''},
        // 2:{id: 2, title: '极速退款', type:'success'},
        '-1':{id: -1, title: '拒绝退款', type:'danger'}
    },

    orderOrderRefundStatusOptions: {
        'apply':{id: 'apply', title: '退款中', type:''},
        'success':{id: 'success', title: '已退款', type:'success'},
        'fail':{id: 'fail', title: '已拒绝', type:'danger'}
    }

}

export default global